package com.ruoyi.project.bas.traycode.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 托盘条码信息对象 bas_traycode
 * 
 * @author ruoyi
 * @date 2023-04-04
 */
public class BasTraycode extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @Excel(name = "id")
    private Integer id;

    /** 托盘条码 */
    @Excel(name = "托盘条码")
    private String trayCode;

    /** 条码头 */
    @Excel(name = "条码头")
    private String tHead;

    /** 是否可用 */
    @Excel(name = "是否可用")
    private String isUsed;

    /**
     * 起始数量
     */
    private int beginCode;
    /**
     * 打印数量
     */
    private int beginCount;

    public int getBeginCode() {
        return beginCode;
    }

    public void setBeginCode(int beginCode) {
        this.beginCode = beginCode;
    }

    public int getBeginCount() {
        return beginCount;
    }

    public void setBeginCount(int beginCount) {
        this.beginCount = beginCount;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setTrayCode(String trayCode) 
    {
        this.trayCode = trayCode;
    }

    public String getTrayCode() 
    {
        return trayCode;
    }
    public void settHead(String tHead) 
    {
        this.tHead = tHead;
    }

    public String gettHead() 
    {
        return tHead;
    }
    public void setIsUsed(String isUsed) 
    {
        this.isUsed = isUsed;
    }

    public String getIsUsed() 
    {
        return isUsed;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("trayCode", getTrayCode())
            .append("tHead", gettHead())
            .append("isUsed", getIsUsed())
            .toString();
    }
}
